﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Domain.Entitys.Inv
{
    /// <summary>
    ///    仓库调拨商品详情
    /// </summary>
    public class Inv_trfproddtl
    {
        [Key]
        public int Trfproddtl_Id { get; set; }

        public int ?  Trf_id { get; set; }

        public string Pro_name { get; set; }

        public string Pro_code { get; set; }

        public string Pro_brand { get; set; }

        public string Pro_model { get; set; }

        public string Unitmeas_id { get; set; }

        public decimal? Inventory_numder { get; set; }



        public decimal? Pro_cost_price { get; set; }

        public decimal? Pro_sale_price { get; set; }

        //待入库数量
        public decimal? Pending_numder { get; set; }
        /// <summary>
        /// 关联单号
        /// </summary>
        public string ? stock_entry_no { get;set; }
        //出库数量
        //public decimal? trfproddtl_cknumder { get; set; }
        /// <summary>
        /// 导航属性（指向主表）
        /// </summary>
        [JsonIgnore]
        public Inv_trf Main { get; set; }
    }
}
